package com.ibangnuo.manage.dao;

import com.ibangnuo.framework.domain.Order;
import com.ibangnuo.framework.domain.ext.OrderExt;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.Map;

/**
 * @Author: wwy
 * @Date: 2019-12-26 17:36
 */
public interface OrderRepository extends JpaRepository<Order,String>, JpaSpecificationExecutor<Order> {
    Order findByOutTradeNo(String outTradeNo);

    Order findBySn(String deviceSn);

}
